﻿<%@ Page Language="C#" MasterPageFile="~/masters/m1.master" AutoEventWireup="false"  
CodeFile="sql_window.aspx.cs" Inherits="sql_window" MaintainScrollPositionOnPostback="true" 
Title="My SQL window to db" EnableEventValidation = "false" ValidateRequest="false" %>

<%@ MasterType virtualpath="~/masters/m1.master" %>



<asp:Content ID="Content1" ContentPlaceHolderID="m1hcph" Runat="Server">
    <link href="../css/global.css" rel="stylesheet" type="text/css" /> 
   <link href="../css/sql_window.css" rel="stylesheet" type="text/css" /> 
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="m1bcp" Runat="Server">




<asp:Panel runat="server" ID="panCheckHolder"></asp:Panel>

<asp:Panel runat="server" ID="panGuiders">

</asp:Panel>


<asp:Panel runat="server" ID="panButHolder">
<asp:Button ID="butAddExtendedProps" runat="server" OnClick="ClickAddExtendedProps" Visible ="true" Text = "Add Ext Props" ToolTip="Adds extended properties for each column of a table which does not have yet extended properties " Width="130"/>


     <asp:Button ID="butGenInsert" runat="server" OnClick="ClickGenerateInsertProc" 
 Visible ="true" Text = "Gen Insert" ToolTip="Generates Insert procedure for this table " Width="130"/>
 
 <asp:Button ID="butGenUpdate" runat="server" OnClick="ClickGenerateUpdateProc" Visible ="true" Text = "Gen Update" ToolTip="Generates UPDATE procedure for this table Width="130"/>

 <asp:Button ID="butGenerateOpenProc" runat="server" OnClick="ClickGenerateOpenProc" Visible ="true" Text = "Gen Open" ToolTip="Generate OPEN procedure for this table" Width="130"/>
 
 <asp:Button ID="butGenerateSearchProc" runat="server" OnClick="ClickGenerateSearchProc" Visible ="true" Text = "Gen Search" ToolTip="Generates SEARCH procedure for the elected table" Width="130" />
 
 
 <asp:Button ID="butGenerateDeleteProc" runat="server" OnClick="ClickGenerateDeleteProc" Visible ="true" Text = "Gen Delete" ToolTip="Generated DELETE procedure for this table" Width="130"/>
 
<asp:Button ID="butGetMetaData" runat="server" OnClick="ClickUpdateExtendedProps" Visible ="true" Text = "Update Ext Props" ToolTip="Gets the MetaData Of this table" Width="130"/>



 
<asp:Button ID="butInsertValues" runat="server" OnClick="ClickGenerateInsertValuesProc" 
 Visible ="true" Text = "Insert Values" ToolTip="Generates INSERT statements having the current values of the exsisting table" Width="130"/>


<asp:Button ID="butRunSql" runat="server" OnClick="ClickRunSql" Visible ="true" Text = "Run SQL" ToolTip="Runs the sql string contained in the textarea" Width="130"/>
</asp:Panel>


    <div class="row">
<asp:TextBox runat="server" ID="txtInformer" TextMode="MultiLine" CssClass="txtInformer" 
></asp:TextBox>
    </div>




</asp:Content>

